package com.reebake.ideal.security.oauth2.config;

import com.reebake.ideal.security.config.AuthenticationManagerConfig;
import com.reebake.ideal.security.oauth2.properties.OAuth2ResourceProperties;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@EnableConfigurationProperties(OAuth2ResourceProperties.class)
@Import({Oauth2ResourceServerConfig.class, AuthenticationManagerConfig.class})
@AutoConfigureOrder(0)// 要在jwt验证过滤器之前
public class OAuth2ResourceAutoConfiguration {
}
